package com.sumainfor.wx.tenant.service.impl.GmioFeign;

import com.sumainfor.wx.tenant.dao.FinancialProviderMapper;
import lombok.extern.log4j.Log4j2;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * @Author Eddy·Chen
 * @Email 835033913@qq.com
 * @Create 2019-04-21 13:02
 */
@Service
@Transactional(rollbackFor = Exception.class)
@Log4j2
public class FinancialProviderService {

    @Autowired
    private FinancialProviderMapper mapper;

    /**
     * 查询租客信息数据
     *
     * @param search
     * @param ids
     * @return
     */
    public List<Map<String, Object>> selectTenantInfo(String search, List<String> ids) {
        return mapper.selectTenantInfo(search, ids);
    }

}
